getParcelableArrayListExtra
open fun <T> getParcelableArrayListExtra(@NonNull in: Intent, @Nullable name: String, @NonNull clazz: Class<out T>): ArrayList<T>(source)
Retrieve extended data from the intent.
Compatibility behavior:
- SDK 34 and later, this method matches platform behavior.
- SDK 33 and below, this method will not check the array elements' types.
Return
the value of an item previously added with putParcelableArrayListExtra(), or null if no ArrayListvalue was found.
Parameters
in
The intent to retrieve from.
name
The name of the desired item.
clazz
The type of the items inside the array list. This is only verified when unparceling.